package game.goods;

import game.controller.Supplies;
import javafx.scene.image.Image;

import static game.basic.Util.getImage;

public class Heart extends Supplies {

    public Image heart_half;
    public Image heart_blank;

    public Heart() {
        readObjImage("/object/heart_full.png",48,48);
    }


    @Override
    public void readObjImage(String url, int width, int height) {
        objImg = getImage(url, width, height);
        heart_half=getImage("/object/heart_half.png",48,48);
        heart_blank=getImage("/object/heart_blank.png",48,48);
    }




}
